import request from '@/utils/request'

export const doctorApi = {
  // 获取医生列表
  getDoctorList() {
    return request({
      url: '/api/Doctor/list',
      method: 'GET'
    })
  },
  
  getDoctorById(id){
	  return request({
		  url: '/api/Doctor/getDoctorByid/${id}',
		  method:'GET'
	  })
  },
  
  getDoctorInfo(id){
	  return request({
		  url: `/api/Doctor/getDoctorinfo/${id}`,
		  method:'GET'
	  })
  }
  
} 